
package models.spider.parser.aaa.rdf;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 
 * @author laurent@opprecht.info
 */
@XmlRootElement(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#", name = "RDF")
@XmlAccessorType(XmlAccessType.FIELD)
public class Document {

    public String         url       = null;

    @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
    public String         base      = null;

    @XmlAttribute(namespace = "http://www.w3.org/XML/1998/namespace")
    public String         aaa       = null;

    @XmlElement(namespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#", name = "Description")
    public List<Resource> resources = new ArrayList<Resource>();
}
